<template>
  <ant-modal
    modalWidth="800"
    modalHeight="750"
    :visible="open"
    :modal-title="formTitle"
    :adjust-size="true"
    @cancel="cancel"
  >
    <a-form-model
      ref="form"
      :model="form"
      :rules="rules"
      slot="content"
      layout="vertical"
    >
      <a-row :gutter="32" style="width: 80%; left: 10%">
        <a-col :span="24">
          <a-form-model-item label="检查类目" prop="leimu">
            <a-textarea
              v-model="form.leimu"
              placeholder="请输入检查类目"
              :rows="4"
            />
          </a-form-model-item>
        </a-col>

        <a-col :span="24">
          <a-form-model-item label="检查项目" prop="projects">
            <a-textarea
              v-model="form.projects"
              placeholder="请输入检查项目"
              :rows="4"
            />
          </a-form-model-item>
        </a-col>

        <a-col :span="24">
          <a-form-model-item label="备注" prop="remark">
            <a-textarea
              v-model="form.remark"
              placeholder="请输入备注"
              :rows="4"
            />
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer">
      <a-button @click="cancel"> 取消 </a-button>
      <a-button type="primary" @click="submitForm"> 保存 </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizMonthModelDetialsAddForm from "./BizMonthModelDetialsForm";
export default {
  ...BizMonthModelDetialsAddForm,
};
</script>
